Skip to content

feat(aggregator): add global work search (1212 slice 1) - #3969

Merged
dezren39 merged 4 commits into
mainfrom
queue/4919-1212-aggregator-search
Nov 3, 2026
Merged

dezren39 merged 4 commits into
mainfrom
queue/4919-1212-aggregator-search

Conversation

@dezren39

@dezren39 dezren39 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Slice 1 of #1212 adds global search for board and roadmap work, using linked projected GitHub refs/titles. The nav form is available across aggregator pages; result cards reuse linked-item state badges and show board/roadmap/items freshness chips. Slice-2 detail pages and DNS/services indexing remain out of scope.

any aggregator page
  global search form -> /search?q=...
    board + roadmap subjects and linked projected refs
      result cards + existing linked-state badges + source freshness chips

Evidence

  • Focused: bun test test/curation-1497.test.ts test/search-view.test.ts — 9 pass; global-search route test — 1 pass.
  • Full aggregator suite — 918 pass, 1 fail. The remaining slice3 session-registry fixture failure was reproduced on clean main (expected claude-code fixture record absent).
  • bun run typecheck remains blocked by existing errors in unchanged files (push.ts, charges-collect.test.ts, feed.test.ts, github-billing.test.ts, overview.test.ts, quota-current.test.ts). No errors were reported in changed files.

Merge Danger

Door: Two-way; additive UI and read-only routes.

Blast Radius: Low — aggregator search page, nav, and focused tests only.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 1, 2026 20:52
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T18:09:56.125744Z
We couldn’t complete this review. Comment @codex review to try again.
24c8e41 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…gator-search

# Conflicts:
#	pm-stack/aggregator/src/pages.ts
#	pm-stack/aggregator/src/render.ts
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 848faa2 into main Nov 3, 2026
@dezren39
dezren39 deleted the queue/4919-1212-aggregator-search branch November 3, 2026 18:10
dezren39 added a commit that referenced this pull request Nov 8, 2026
…er items (#1212) (#7331)

* feat(aggregator): global search slice 2 — registry, DNS, services, tier items (#1212)

Search (slice 1, PR #3969) covered only board and roadmap subjects.
Slice 2 extends searchWork with the registry/session records, the
DNS register, the usage-hub services, and the orchestration tier
items, each result carrying a stable detail href: /item/<id> for
board/roadmap, /sessions?id=<id>#<id> for sessions, /dns#dns-<domain>
for register rows (dnsTable now renders a per-domain anchor),
/quota/service/<id> for services, and the session view or the
/discuss/<object> page for tier items. renderSearch links each card
to its own detail view and carries the freshness facets of every
result kind home page; searchContext loads the extra sources
fail-soft so one broken source never takes search down.

Refs #1212 (slice 2 of the issue acceptance; does not close it).

* aggregator: fix the four Codex findings on the slice-2 search PR (#1212)

P1: tier/registry refs are filtered with isValidRef before they become GitHub badges, and renderSearch renders a non-GitHub ref as plain text instead of letting refUrl throw and fail /search. P2: searchContext resolves refs carried only by registry sessions and tier items. P2: the /dns row anchor id is escaped. P2: includesQuery only matches string values, so non-string optional fields (model: 7, a numeric registrar) no longer throw. Regression tests for each finding in search-view.test.ts.

---------

Co-authored-by: repo-worker-code-k <fleet@developing.today>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant